<!DOCTYPE html>
<html lang="en">
    <head>
        <title>for循环</title>
        <meta charset="utf-8">
        <style type="text/css" media="screen">
        </style>
    </head>
    <body>

    
        <script type="text/javascript">
        for(var i=1;i<=150;i++){
            document.write(i)
            if(i%3==0){
            
                document.write("soo");
            }
            if(i%5==0){
               
                document.write("woo");  
            }
            if (i%7==0) {
                
                document.write("qoo");
            }
         
                document.write("<br/>");
        }
        </script>
    </body>
</html>